package com.qzsoft.zhjd.laboratory.modules.laboratoryMechanicsWGroup.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qzsoft.zhjd.common.components.BaseServiceComponent;
import com.qzsoft.zhjd.laboratory.modules.laboratoryMechanicsWGroup.entity.MechanicsWDetailEntity;
import com.qzsoft.zhjd.laboratory.modules.laboratoryMechanicsWGroup.entity.MechanicsWFyDetailEntity;
import com.qzsoft.zhjd.laboratory.modules.laboratoryMechanicsWGroup.mapper.MechanicsWFyDetailMapper;
import com.qzsoft.zhjd.laboratory.modules.laboratoryMechanicsWGroup.service.MechanicsWFyDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service("mechanicsWFyDetailService")
public class MechanicsWFyDetailServiceImpl extends ServiceImpl<MechanicsWFyDetailMapper, MechanicsWFyDetailEntity> implements MechanicsWFyDetailService {
    @Autowired
    private BaseServiceComponent baseServiceComponent;

    /**
     * 列表
     */
    @Override
    public IPage<MechanicsWFyDetailEntity> queryPage(Map<String, Object> params) {
        IPage<MechanicsWFyDetailEntity> page = baseServiceComponent.getPage(params, MechanicsWFyDetailEntity.class);
        return baseMapper.query(page, params);
    }
}
